.TH SWIFTENV\-INSTALL 1

.SH NAME
swiftenv-install \- Install a version of Swift

.SH SYNOPSIS
swiftenv install [\-\-verbose] [\-\-list] [\-\-list-snapshots] [\-\-no\-refresh] [\-\-[no\-]build] [\-\-[no\-]set\-global] [\-\-[no\-]set\-local] [--no-clean] [\-\-[no\-]user] <version>

.SH DESCRIPTION

Installs a version of Swift.

.SH OPTIONS

\-\-verbose

.RS
Shows additional debugging information.
.RE

\-l/\-\-list

.RS
Lists all the Swift releases that can be installed.
.RE

\-\-refresh

.RS
On by default.
When used in conjunction with \-\-list, fetches an updated information.
.RE

\-\-no\-refresh

.RS
Force using local version information with \-\-list.
.RE

\-\-list-snapshots

.RS
Lists all the Swift snapshot releases that can be installed.
.RE

\-\-build

.RS
Forces installation only from source.
.RE

\-\-no\-build

.RS
Forces installation only from binary releases of Swift.
.RE

\-\-no\-clean

.RS
Leaves the build directory intact for inspection and debugging.
.RE

\-\-verify\

.RS
When downloading a pre-packaged tarball, also downloads the corresponding signature and verifies it with gpg. Assumes the keys already exist on the public gpg keyring. If verification fails, the version will not be installed. Signatures are only published for Linux tarballs, and not macOS packages.
.RE

\-\-set\-global

.RS
Set the installed version globally.
.RE

\-\-no\-set\-global

.RS
Don't set the installed version globally.
.RE

\-\-set\-local

.RS
Set the installed version in the local .swift-version file.
.RE


\-\-no\-set\-local

.RS
Don't set the installed version locally.
.RE


\-\-user

.RS
Install to the swiftenv user install directory for your platform. Typically ~/.swiftenv/versions
.RE


\-\-no\-user

.RS
Install to the swiftenv system install directory for your platform. On macOS this is in /Library
.RE
